package com.kancy.demo.streamplus.channel.message;

import com.kancy.streamplus.channel.AbstractDynamicDelayPollingMessage;
import com.kancy.streamplus.channel.MessageKey;
import lombok.Data;

/**
 * TextMessage
 *
 * @author kancy
 * @date 2020/3/22 19:38
 */
@Data
@MessageKey("test")
public class TextMessage extends AbstractDynamicDelayPollingMessage {
    private String text;

    public TextMessage() {
    }

    public TextMessage(String text) {
        this.text = text;
    }
}
